package cn.itsource.blog.mapper;


import cn.itsource.blog.domain. Community;
import cn.itsource.blog.query. CommunityQuery;

import java.util.List;

public interface CommunityMapper {
    void add( Community  community);
    void update( Community  community);
    void delete(Long id);
     Community getOne(Long id);
    List< Community> getAll();

    void patchDelete(Long[] ids);

    List< Community> pageQuery( CommunityQuery query);

}
